package com.apartment.own.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.apartment.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.apartment.common.annotation.Excel;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 支付详情对象 own_account_payment
 * 
 * @author @Dog_E
 * @date 2020-08-28
 */
@Data
@ApiModel("支付详情")
@Deprecated
public class OwnAccountPayment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @ApiModelProperty("id")
    private Long id;

    /** 删除标志（0代表存在 2代表删除） */
    @ApiModelProperty("删除标志（0代表存在 2代表删除）")
    private String delFlag;

    /** 账单周期表id */
    @ApiModelProperty("账单周期表id")
    @Excel(name = "账单周期表id")
    private Long accInsId;

    /** 支付状态 */
    @ApiModelProperty("支付状态")
    @Excel(name = "支付状态")
    private Integer paymentType;

    /** 支付时间 */
    @ApiModelProperty("支付时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "支付时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date paymentTime;

    /** 支付金额 */
    @ApiModelProperty("支付金额")
    @Excel(name = "支付金额")
    private BigDecimal paymentMoney;

    /** 支付状态 0-未支付,1待审批,3-被驳回,4-已完成 */
    @ApiModelProperty("支付状态 0-未支付,1待审批,3-被驳回,4-已完成")
    @Excel(name = "支付状态 0-未支付,1待审批,3-被驳回,4-已完成")
    private Integer paymentStatus;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setAccInsId(Long accInsId) 
    {
        this.accInsId = accInsId;
    }

    public Long getAccInsId() 
    {
        return accInsId;
    }
    public void setPaymentType(Integer paymentType) 
    {
        this.paymentType = paymentType;
    }

    public Integer getPaymentType() 
    {
        return paymentType;
    }
    public void setPaymentTime(Date paymentTime) 
    {
        this.paymentTime = paymentTime;
    }

    public Date getPaymentTime() 
    {
        return paymentTime;
    }
    public void setPaymentMoney(BigDecimal paymentMoney) 
    {
        this.paymentMoney = paymentMoney;
    }

    public BigDecimal getPaymentMoney() 
    {
        return paymentMoney;
    }
    public void setPaymentStatus(Integer paymentStatus) 
    {
        this.paymentStatus = paymentStatus;
    }

    public Integer getPaymentStatus() 
    {
        return paymentStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("accInsId", getAccInsId())
            .append("paymentType", getPaymentType())
            .append("paymentTime", getPaymentTime())
            .append("paymentMoney", getPaymentMoney())
            .append("paymentStatus", getPaymentStatus())
            .toString();
    }
}
